package com.youth.platform.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.youth.framework.authority.entity.Resources;
import com.youth.platform.dao.SystemDao;
import com.youth.platform.service.ResourceService;

@Service("resourceService")
public class ResourceServiceImpl implements ResourceService {

	@Resource(name = "systemDao")
	private SystemDao mapper;

	@Override
	public int addResources(Resources r) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateResource(Resources r) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void deleteResource(Resources r) {
		// TODO Auto-generated method stub

	}

	@Override
	public Resources selectResourcesById(Resources r) {
		// TODO Auto-generated method stub
		return mapper.selectResourcesById(r);
	}

	@Override
	public List<Resources> listResources(Resources r) {
		// TODO Auto-generated method stub
		return null;
	}

}
